package org.niugang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author niugang
 */
@SpringBootApplication
///mapper 接口类扫描包配置
@MapperScan(value={"com.niugang.dao"})
@EnableDiscoveryClient
public class SpringCloudAuthorizationServerApplication extends  SpringBootServletInitializer{
	
     public static void main(String[] args) {
    	SpringApplication.run(SpringCloudAuthorizationServerApplication.class,args);
	}

}
